package com.sky.city.adepter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sky.city.R;
import com.sky.city.bean.IndexListItemBean;

public class BeautyRvAdepter extends BaseQuickAdapter<IndexListItemBean, BaseViewHolder> {

    public BeautyRvAdepter() {
        super(R.layout.item_beauty_layout);
    }

    @Override
    protected void convert(BaseViewHolder helper, IndexListItemBean item) {
         helper.setImageResource(R.id.beautyImg,item.resId);
         helper.setText(R.id.nameTv,item.name);
    }
}
